<layout name='Layout/layout_page' />

	<ol class="breadcrumb">
		<li><a href="<{:U('Apply/index')}>">报名信息</a></li>
      	<li class="active">列表</li>
    </ol>

    <form class="form-inline" method="get" action="index.php">
  		<div class="form-group">
    		<label>姓名：</label>
    		<input type="text" class="form-control input-sm" name="keyword" value="<{$keyword}>">
  		</div>
  		<div class="form-group">
    		<label>手机：</label>
    		<input type="text" class="form-control input-sm" name="mobile" value="<{$mobile}>">
  		</div>
		<button type="submit" class="btn btn-default btn-sm">搜索</button>
		<a class="btn btn-default btn-sm" href="<{:U('Apply/index')}>">重置</a>
		<input type="hidden" name="g" value="Admin" />
		<input type="hidden" name="m" value="Apply" />
		<input type="hidden" name="a" value="index" />
	</form>

	<p></p>

	<form id="ajaxForm" method="post" action="<{:U('Apply/del')}>" name="form1" class="form-horizontal form-validata">
	<TABLE class="table table-striped table-bordered table-hover">
	  <THEAD>
		<tr>
		  <TH><input class="checkall" name="checkall" type="checkbox" id="checkall" onClick="CheckAll(this.form)"/> 全选</TH>
		  <TH>id</TH>		  
		  <TH>应聘职位</TH>	
		  <TH>会员编号</TH>	  
		  <TH>姓名</TH>
		  <TH>手机</TH>		  
		  <TH>性别</TH>		  
		  <TH>年龄</TH>		  
		  <TH>状态</TH>
		  <TH>提交日期</TH>
		  <TH>操作</TH>
		</tr>
	  </THEAD>
	  <TBODY>             
			<volist name="list" id="vo">
			<tr>
			  <td><input type="checkbox" name="selectedids[]" value="<{$vo.id}>" id="<{$vo.id}>"></td>
			  <td><{$vo.id}></td>
			  <td><a href="<{:U('Wap/Job/view',array('id'=>$vo['jobID']))}>" target="_blank"><{$vo.jobName}></a>(<a href="<{:U('Wap/Company/view',array('id'=>$vo['companyID']))}>" target="_blank"><{$vo.company}></a>)</td>
			  <td><{$vo.userid}></td>
			  <td><{$vo.name}></td>			  
			  <td><{$vo.mobile}></td>
			  <td><{$vo.sex}></td>
			  <td><{$vo.age}></td>    
              <td><eq name="vo.status" value="0"><a href="<{:U('Apply/open' , array('id'=>$vo['id']))}>" class="btn btn-sm btn-danger">未处理</a><else/><a href="<{:U('Apply/close',array('id'=>$vo['id']))}>" class="btn btn-sm btn-default">已处理</a></eq></td>
              <td><{$vo.createTime|date='Y-m-d H:i:s',###}></td>              
			  <td>
			  	<a href="<{:U('Record/add',array('id'=>$vo['id']))}>" class="btn btn-default btn-sm"><i class="glyphicon glyphicon-arrow-left"></i> 存入工作记录</a>
			  </td>
			</tr>
			</volist>
	  </TBODY>
	</TABLE>

	<div class="row">
		<div class="col-md-6">
			<button class="btn btn-info btn-sm" onClick="if(!confirm('删除后不可恢复！确定吗？'))return false;"><i class="glyphicon glyphicon-trash"></i> 删除选中信息</button>
		</div>
		
		<div class="col-md-6">
			<div class="page">
				<nav>
  					<ul class="pagination"><{$page}></ul>
  				</nav>
  			</div>
		</div>
	</div>
	</form>

</div>


<input type="hidden" id="menu_action" value="qiang" />